package junit.factory;

/**
 * 工厂模式降低类与类之间的耦合性
 */
public class Text {
    public static void main(String[] args) {
        Car car = CarFactory.getIntance(CarType.FALALI);
        car.run();
    }
}
